package com.heima.feign.wemedia;


import com.heima.model.comment.pojos.CommentSaveDto;
import com.heima.model.common.dtos.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("leadnews-wemedia")
public interface IWemediaClient {

    /**
     * 审核评论
     * @param dto
     * @return
     */
    @PostMapping("/api/v1/save")
    ResponseResult checkComment(@RequestBody CommentSaveDto dto);
}
